public class stu {
    private String name;
    private int id;
    private int banji;
    private String xingbie;
    private int nianling;
    private String xingge;

    public stu(String name, int id, int banji, String xingbie, int nianling, String xingge) {
        this.name = name;
        this.id = id;
        this.banji = banji;
        this.xingbie = xingbie;
        this.nianling = nianling;
        this.xingge = xingge;
    }


    public void say() {
        System.out.println("我是个大学生！我的名字叫" + this.name
                + ", 我的学号是" + this.id
                + ", 我的班级是" + this.banji
                + ", 我的性别是" + this.xingbie
                + ", 我的年龄是" + this.nianling
                + ", 我的性格是" + this.xingge);
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setBanji(int banji) {
        this.banji = banji;
    }

    public void setXingbie(String xingbie) {
        this.xingbie = xingbie;
    }

    public void setNianling(int nianling) {
        this.nianling = nianling;
    }

    public void setXingge(String xingge) {
        this.xingge = xingge;
    }

    public static void main(String[] args) {
        stu stu1 = new stu("丈叁", 101, 1, "男", 18, "开朗");
        stu stu2 = new stu("里斯", 102, 3, "女", 18, "活泼");
        stu stu3 = new stu("王武", 306, 6, "男", 20, "内向");

        stu1.say();
        stu2.say();
        stu3.say();
    }
}
